<?php
return array(
	'attributeLabels' => array(
		'create_time' => '发布时间',
		'cate_id'=>'帮助分类'
	),
	
	'rules' => array(
		array('content', 'required'),
		array('content', 'length', 'max'=>255),
	),
	
	'relations' => array(
		'category'=>array(CActiveRecord::BELONGS_TO,'CategoryHelp','cate_id'),
		'worker'=>array(CActiveRecord::BELONGS_TO,'WorkerAccount','uid'),
	),
	
	'tableName' => 'help',
	
	'_import' => array(
		array('*', 'models.ContentBase//*'),
	),
);